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/AttributesImage.java_72_0
public AttributesImage setDoScale(boolean doScale) { this.alignment = alignment; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 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 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 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_74_11
this.doScale = doScale; return this; } public
AttributesImage setDoScale(boolean doScale) {
[ "AttributesImage setDoScale(boolean doScale) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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.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.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 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 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": "Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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_75_8
return this; } public AttributesImage setDoScale(boolean doScale) {
this.doScale = doScale;
[ "this.doScale = doScale;\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 // 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 // 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 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 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": "Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 return this;\n }\n\n public AttributesImage setDoScale(boolean 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_76_8
} public AttributesImage setDoScale(boolean doScale) { this.doScale = doScale;
return this;
[ "return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\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 // 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 // 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 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 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": "Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = 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_77_0
// implements parcelable this.doScale = doScale; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 // 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 // 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 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 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": "Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 return this;\n }\n\n public AttributesImage setDoScale(boolean doScale) {\n this.doScale = doScale;\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_81_14
graphicFilter = in.readInt(); rotateImage = in.readByte() != 0; // implements parcelable protected
AttributesImage(Parcel in) {
[ "AttributesImage(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_82_22
rotateImage = in.readByte() != 0; inverseColor = in.readByte() != 0; protected AttributesImage(Parcel in) { graphicFilter
= in.readInt();
[ "= in.readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_83_22
inverseColor = in.readByte() != 0; scale = in.readInt(); protected AttributesImage(Parcel in) { graphicFilter = in.readInt(); rotateImage =
in.readByte() != 0;
[ "in.readByte() != 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 = ", "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_84_8
scale = in.readInt(); alignment = in.readString(); graphicFilter = in.readInt(); rotateImage = in.readByte() != 0;
inverseColor = in.readByte() != 0;
[ "inverseColor = in.readByte() != 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_85_0
alignment = in.readString(); doScale = in.readByte() != 0; rotateImage = in.readByte() != 0; inverseColor = in.readByte() != 0;
scale = in.readInt();
[ " scale = in.readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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", "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_86_8
doScale = in.readByte() != 0; } inverseColor = in.readByte() != 0; scale = in.readInt();
alignment = in.readString();
[ "alignment = in.readString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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 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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_87_8
} scale = in.readInt(); alignment = in.readString();
doScale = in.readByte() != 0;
[ "doScale = in.readByte() != 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\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 @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 @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": "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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_88_0
@Override alignment = in.readString(); doScale = in.readByte() != 0;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 @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 @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": "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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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", "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_90_2
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(graphicFilter); }
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 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 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": "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 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": "Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_91_43
dest.writeInt(graphicFilter); dest.writeByte((byte) (rotateImage ? 1 : 0)); @Override public void writeToParcel(Parcel dest,
int flags) {
[ "int flags) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "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 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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, ", "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_92_8
dest.writeByte((byte) (rotateImage ? 1 : 0)); dest.writeByte((byte) (inverseColor ? 1 : 0)); @Override public void writeToParcel(Parcel dest, int flags) {
dest.writeInt(graphicFilter);
[ "dest.writeInt(graphicFilter);\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "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 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_93_8
dest.writeByte((byte) (inverseColor ? 1 : 0)); dest.writeInt(scale); public void writeToParcel(Parcel dest, int flags) { dest.writeInt(graphicFilter);
dest.writeByte((byte) (rotateImage ? 1 : 0));
[ "dest.writeByte((byte) (rotateImage ? 1 : 0));\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "dest writeByte inverseColor dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_94_31
dest.writeInt(scale); dest.writeString(alignment); dest.writeInt(graphicFilter); dest.writeByte((byte) (rotateImage ? 1 : 0)); dest.writeByte((byte) (
inverseColor ? 1 : 0));
[ "inverseColor ? 1 : 0));\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "dest writeInt scale dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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) (", "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_95_13
dest.writeString(alignment); dest.writeByte((byte) (doScale ? 1 : 0)); dest.writeByte((byte) (rotateImage ? 1 : 0)); dest.writeByte((byte) (inverseColor ? 1 : 0)); dest.
writeInt(scale);
[ "writeInt(scale);\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "dest writeString alignment dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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.", "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_96_8
dest.writeByte((byte) (doScale ? 1 : 0)); } dest.writeByte((byte) (inverseColor ? 1 : 0)); dest.writeInt(scale);
dest.writeString(alignment);
[ "dest.writeString(alignment);\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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": " 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": " 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": "dest writeByte doScale Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_97_24
} dest.writeInt(scale); dest.writeString(alignment); dest.writeByte((
byte) (doScale ? 1 : 0));
[ "byte) (doScale ? 1 : 0));\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\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 @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 @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": "Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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((", "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_98_0
@Override dest.writeString(alignment); dest.writeByte((byte) (doScale ? 1 : 0));
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 @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 @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": "Override describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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", "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_100_4
public int describeContents() { return 0; }
@Override
[ "@Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 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 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": "describeContents CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "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 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 ", "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_101_15
return 0; } @Override public int
describeContents() {
[ "describeContents() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 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 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": "CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "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 }; [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 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 ", "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_102_3
} @Override public int describeContents() {
return 0;
[ " return 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\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 static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(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 static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(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": "CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "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 }; [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 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 ", "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_103_0
public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() { public int describeContents() { return 0;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(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 static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n @Override\n public AttributesImage createFromParcel(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": "CREATOR Override createFromParcel in in Override newArray size size 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": "Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage", "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 }; [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 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", "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_105_4
@Override public AttributesImage createFromParcel(Parcel in) { }
public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {
[ "public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " @Override\n public AttributesImage createFromParcel(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": " @Override\n public AttributesImage createFromParcel(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": " @Override\n public AttributesImage createFromParcel(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": "Override createFromParcel in in Override newArray size size 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 AttributesImage AttributesImage AttributesImage", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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 ", "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_106_6
public AttributesImage createFromParcel(Parcel in) { return new AttributesImage(in); public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() {
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public AttributesImage createFromParcel(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 AttributesImage createFromParcel(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 AttributesImage createFromParcel(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": "createFromParcel in in Override newArray size size 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 AttributesImage AttributesImage AttributesImage", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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 ", "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_107_31
return new AttributesImage(in); } public static final Creator<AttributesImage> CREATOR = new Creator<AttributesImage>() { @Override public AttributesImage
createFromParcel(Parcel in) {
[ "createFromParcel(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 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 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": "in Override newArray size size 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", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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.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_108_19
} @Override public AttributesImage createFromParcel(Parcel in) { return
new AttributesImage(in);
[ "new AttributesImage(in);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\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 @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 @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": "Override newArray size size 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", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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 ", "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_109_0
@Override public AttributesImage createFromParcel(Parcel in) { return new AttributesImage(in);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\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 @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 @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": "Override newArray size size 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", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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", "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_111_7
public AttributesImage[] newArray(int size) { return new AttributesImage[size]; }
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 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 AttributesImage[] newArray(int size) {\n return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "newArray size size 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", "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 }; [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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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.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_112_15
return new AttributesImage[size]; } @Override public
AttributesImage[] newArray(int size) {
[ "AttributesImage[] newArray(int size) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesImage[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesImage[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "size 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", "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", "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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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 ", "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_113_11
} }; @Override public AttributesImage[] newArray(int size) {
return new AttributesImage[size];
[ " return new AttributesImage[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 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 Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel 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": "Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel 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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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.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_114_0
}; public AttributesImage[] newArray(int size) { return new AttributesImage[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 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[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": "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[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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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.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_115_0
} return new AttributesImage[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 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[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": "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[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": "int graphicFilter = DITHERING_BW; boolean rotateImage = false; boolean inverseColor = false; private int scale = 16; private boolean doScale = true; private 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 [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 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", "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_117_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 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[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": "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[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": "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[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 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", "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/AttributesQRcode.java_0_18
import android.os.Parcel; package rawbt.api.
attributes;
[ "attributes;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "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 } [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 } [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 [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 [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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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": "[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 } [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 } [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": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [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": "[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 \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \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": "[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 }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \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/AttributesQRcode.java_2_18
import android.os.Parcelable; package rawbt.api.attributes; import android.os.
Parcel;
[ "Parcel;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "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 } [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 } [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 [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 [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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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": "[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 } [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 } [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": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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\nimport android.os.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [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": "[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 \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \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": "[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 }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \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/AttributesQRcode.java_3_18
import android.os.Parcel; import android.os.
Parcelable;
[ "Parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "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 } [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 } [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 [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 [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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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": "[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 } [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 } [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": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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\nimport android.os.Parcel;\nimport android.os.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [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": "[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 \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \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": "[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 }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \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/AttributesQRcode.java_6_33
public class AttributesQRcode implements Parcelable{ import static rawbt.api.Constant.
ALIGNMENT_CENTER;
[ "ALIGNMENT_CENTER;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "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 } [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 } [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 [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 [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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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": "[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 } [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 } [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": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [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": "[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 \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \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": "[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 }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \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/AttributesQRcode.java_8_30
String alignment = ALIGNMENT_CENTER; import static rawbt.api.Constant.ALIGNMENT_CENTER; public class AttributesQRcode
implements Parcelable{
[ "implements Parcelable{\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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 [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 [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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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": "[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 } [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 } [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": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [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": "[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 \n", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \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": "[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 }; \n", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \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/AttributesQRcode.java_10_4
int multiply = 3; public class AttributesQRcode implements Parcelable{
String alignment = ALIGNMENT_CENTER;
[ "String alignment = ALIGNMENT_CENTER;\n" ]
[ { "title": "in_file#lines#0.5", "text": " int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_11_17
public AttributesQRcode() { String alignment = ALIGNMENT_CENTER; int multiply
= 3;
[ "= 3;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_13_2
} int multiply = 3;
public AttributesQRcode() {
[ " public AttributesQRcode() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_14_0
// =========== get & set ======================== public AttributesQRcode() {
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_18_18
return alignment; } // =========== get & set ======================== public String
getAlignment() {
[ "getAlignment() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_19_8
} public String getAlignment() {
return alignment;
[ "return alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_20_0
public int getMultiply() { public String getAlignment() { return alignment;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_22_4
return multiply; } }
public int getMultiply() {
[ "public int getMultiply() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_23_5
} public int getMultiply() {
return multiply;
[ " return multiply;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_24_0
public int getMultiply() { return multiply;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_29_4
this.alignment = alignment; return this;
public AttributesQRcode setAlignment(String alignment) {
[ "public AttributesQRcode setAlignment(String alignment) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_30_13
return this; } public AttributesQRcode setAlignment(String alignment) { this.
alignment = alignment;
[ "alignment = alignment;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_31_4
} public AttributesQRcode setAlignment(String alignment) { this.alignment = alignment;
return this;
[ " return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_32_0
this.alignment = alignment; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_35_28
this.multiply = multiply; return this; public AttributesQRcode
setMultiply(int multiply) {
[ "setMultiply(int multiply) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_36_13
return this; } public AttributesQRcode setMultiply(int multiply) { this.
multiply = multiply;
[ "multiply = multiply;\n" ]
[ { "title": "in_file#lines#0.5", "text": " return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_37_8
} public AttributesQRcode setMultiply(int multiply) { this.multiply = multiply;
return this;
[ "return this;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_38_0
this.multiply = multiply; return this;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_43_12
return new AttributesQRcode() .setAlignment(this.alignment) // builder public
AttributesQRcode build(){
[ "AttributesQRcode build(){\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_44_5
.setAlignment(this.alignment) .setMultiply(this.multiply); // builder public AttributesQRcode build(){
return new AttributesQRcode()
[ " return new AttributesQRcode()\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_45_17
.setMultiply(this.multiply); } public AttributesQRcode build(){ return new AttributesQRcode() .
setAlignment(this.alignment)
[ "setAlignment(this.alignment)\n" ]
[ { "title": "in_file#lines#0.5", "text": " .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_46_4
} return new AttributesQRcode() .setAlignment(this.alignment)
.setMultiply(this.multiply);
[ " .setMultiply(this.multiply);\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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_47_0
// implements parcelable .setAlignment(this.alignment) .setMultiply(this.multiply);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_51_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 protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_52_11
return 0; } @Override public
int describeContents() {
[ "int describeContents() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_53_6
} @Override public int describeContents() {
return 0;
[ " return 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\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": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_54_0
protected AttributesQRcode(Parcel in) { public int describeContents() { return 0;
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\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": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_56_4
alignment = in.readString(); multiply = in.readInt(); }
protected AttributesQRcode(Parcel in) {
[ "protected AttributesQRcode(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\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": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_57_8
multiply = in.readInt(); } protected AttributesQRcode(Parcel in) {
alignment = in.readString();
[ "alignment = in.readString();\n" ]
[ { "title": "in_file#lines#0.5", "text": " multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "multiply in readInt Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_58_8
} protected AttributesQRcode(Parcel in) { alignment = in.readString();
multiply = in.readInt();
[ "multiply = in.readInt();\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_59_0
@Override alignment = in.readString(); multiply = in.readInt();
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\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(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_61_0
public void writeToParcel(Parcel dest, int flags) { dest.writeString(alignment); }
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "writeToParcel dest flags dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_62_16
dest.writeString(alignment); dest.writeInt(multiply); @Override public void
writeToParcel(Parcel dest, int flags) {
[ "writeToParcel(Parcel dest, int flags) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeString alignment dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_63_2
dest.writeInt(multiply); } @Override public void writeToParcel(Parcel dest, int flags) {
dest.writeString(alignment);
[ " dest.writeString(alignment);\n" ]
[ { "title": "in_file#lines#0.5", "text": " dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " dest.writeInt(multiply);\n }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "dest writeInt multiply CREATOR Override createFromParcel in in Override newArray size size Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\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": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_64_2
} public void writeToParcel(Parcel dest, int flags) { dest.writeString(alignment);
dest.writeInt(multiply);
[ " dest.writeInt(multiply);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CREATOR Override createFromParcel in in Override newArray size size Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_65_0
public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() { dest.writeString(alignment); dest.writeInt(multiply);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "CREATOR Override createFromParcel in in Override newArray size size Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_67_50
@Override public AttributesQRcode createFromParcel(Parcel in) { } public static final Creator<AttributesQRcode>
CREATOR = new Creator<AttributesQRcode>() {
[ "CREATOR = new Creator<AttributesQRcode>() {\n" ]
[ { "title": "in_file#lines#0.5", "text": " @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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " @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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " @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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override createFromParcel in in Override newArray size size AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n public static final Creator<AttributesQRcode> ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_68_6
public AttributesQRcode createFromParcel(Parcel in) { return new AttributesQRcode(in); public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " 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 };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "createFromParcel in in Override newArray size size AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_69_32
return new AttributesQRcode(in); } public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() { @Override public AttributesQRcode
createFromParcel(Parcel in) {
[ "createFromParcel(Parcel in) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesQRcode(in);\n }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "in Override newArray size size AttributesQRcode AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_70_23
} @Override public AttributesQRcode createFromParcel(Parcel in) { return new
AttributesQRcode(in);
[ "AttributesQRcode(in);\n" ]
[ { "title": "in_file#lines#0.5", "text": " }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " }\n\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override newArray size size AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_71_0
@Override public AttributesQRcode createFromParcel(Parcel in) { return new AttributesQRcode(in);
}
[ " }\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n @Override\n public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "Override newArray size size AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n public static final Creator<AttributesQRcode> CREATOR = new Creator<AttributesQRcode>() {\n @Override\n public AttributesQRcode createFromParcel(Parcel in) {\n return new AttributesQRcode(in);\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_73_7
public AttributesQRcode[] newArray(int size) { return new AttributesQRcode[size]; }
@Override
[ " @Override\n" ]
[ { "title": "in_file#lines#0.5", "text": " public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public AttributesQRcode[] newArray(int size) {\n return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "newArray size size AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode AttributesQRcode", "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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_74_15
return new AttributesQRcode[size]; } @Override public
AttributesQRcode[] newArray(int size) {
[ "AttributesQRcode[] newArray(int size) {\n" ]
[ { "title": "in_file#lines#0.5", "text": " return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " return new AttributesQRcode[size];\n }\n };\n\n}\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "size AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_75_6
} }; @Override public AttributesQRcode[] newArray(int size) {
return new AttributesQRcode[size];
[ " return new AttributesQRcode[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_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 Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_76_0
}; public AttributesQRcode[] newArray(int size) { return new AttributesQRcode[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_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", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_77_2
} return new AttributesQRcode[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_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", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "String alignment = ALIGNMENT_CENTER; int multiply = 3;", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesQRcode.java_79_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_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", "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 } [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 } [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[AttributesQRcode]", "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 [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 [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[AttributesQRcode]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getAlignment getMultiply setAlignment setMultiply 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 }; [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 }; [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[AttributesQRcode]", "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 [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandQRcode] rawbt api command rawbt api attributes AttributesQRcode rawbt api Constant ALIGNMENT_LEFT CommandQRcode TAG command TAG data alignment ALIGNMENT_LEFT multiply CommandQRcode CommandQRcode data attr data data alignment attr getAlignment multiply attr getMultiply getData data setData data data data getAlignment alignment setAlignment alignment alignment alignment getMultiply multiply setMultiply multiply multiply multiply RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [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 [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 [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[AttributesQRcode]", "score": 0.07692307692307693 }, { "title": "similar_name_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 } [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 } [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[AttributesQRcode]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\n\nimport static rawbt.api.Constant.ALIGNMENT_CENTER;\n\npublic class AttributesQRcode implements Parcelable{\n\n String alignment = ALIGNMENT_CENTER;\n int multiply = 3;\n\n public AttributesQRcode() {\n }\n\n // =========== get & set ========================\n\n public String getAlignment() {\n return alignment;\n }\n\n public int getMultiply() {\n return multiply;\n }\n\n\n\n\n public AttributesQRcode setAlignment(String alignment) {\n this.alignment = alignment;\n return this;\n }\n\n\n public AttributesQRcode setMultiply(int multiply) {\n this.multiply = multiply;\n return this;\n }\n\n\n\n // builder\n public AttributesQRcode build(){\n return new AttributesQRcode()\n .setAlignment(this.alignment)\n .setMultiply(this.multiply);\n }\n\n // implements parcelable\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n protected AttributesQRcode(Parcel in) {\n alignment = in.readString();\n multiply = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeString(alignment);\n dest.writeInt(multiply);\n }\n\n 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 };\n\n", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandQRcode] final public static String TAG = \"qrcode\"; String command = TAG; String data; String alignment = ALIGNMENT_LEFT; int multiply = 3; [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 }; [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 }; [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[AttributesQRcode]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandQRcode] getData setData getAlignment setAlignment getMultiply setMultiply [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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents 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[AttributesQRcode]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandQRcode] RawbtCommand String String String String String AttributesQRcode String CommandQRcode String String CommandQRcode String CommandQRcode [AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage [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[AttributesQRcode]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandQRcode] \"qrcode\" [AttributesPdf] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesQRcode]", "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": "[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 \n[AttributesQRcode]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_file#method_names_and_bodies#0.5", "text": "[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 } \n[AttributesQRcode]", "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": "[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 }; \n[AttributesQRcode]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_file#method_names#0.5", "text": "[AttributesQRcode] getAlignment getMultiply setAlignment setMultiply build describeContents writeToParcel createFromParcel newArray \n[AttributesQRcode]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesQRcode] \n[AttributesQRcode]", "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": "[AttributesQRcode] Parcelable String String AttributesQRcode String AttributesQRcode AttributesQRcode AttributesQRcode Parcel Parcel Creator AttributesQRcode Creator AttributesQRcode AttributesQRcode Parcel AttributesQRcode AttributesQRcode AttributesQRcode \n[AttributesQRcode]", "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/AttributesPdf.java_0_18
package rawbt.api.
attributes;
[ "attributes;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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": "[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 [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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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": "[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 [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": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [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": "[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 [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": "[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 } [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": "[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 }; [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": "[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 [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": "[AttributesPdf] [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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [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/AttributesPdf.java_3_15
import android.os.Parcelable; import android.
os.Parcel;
[ "os.Parcel;\n" ]
[ { "title": "in_file#lines#0.5", "text": "import android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "import android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "import android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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": "[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 [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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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": "[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 [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": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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.", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [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": "[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 [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": "[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 } [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": "[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 }; [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": "[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 [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": "[AttributesPdf] [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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [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/AttributesPdf.java_4_7
public class AttributesPdf implements Parcelable { import android.os.Parcel; import
android.os.Parcelable;
[ "android.os.Parcelable;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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": "[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 [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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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": "[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 [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": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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 ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [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": "[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 [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": "[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 } [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": "[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 }; [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": "[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 [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": "[AttributesPdf] [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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [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/AttributesPdf.java_6_38
public static final int WIDTH_TRUNCATE_NONE = 0; public static final int WIDTH_TRUNCATE_1_2 = 1; import android.os.Parcelable; public class AttributesPdf implements
Parcelable {
[ "Parcelable {\n" ]
[ { "title": "in_file#lines#0.5", "text": " public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrame", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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": "[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 [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": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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": "[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 [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": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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\npublic class AttributesPdf implements ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [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": "[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 [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": "[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 } [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": "[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 }; [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": "[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 [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": "[AttributesPdf] [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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [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/AttributesPdf.java_7_11
public static final int WIDTH_TRUNCATE_1_2 = 1; public static final int WIDTH_TRUNCATE_MAX = 2; public class AttributesPdf implements Parcelable { public
static final int WIDTH_TRUNCATE_NONE = 0;
[ "static final int WIDTH_TRUNCATE_NONE = 0;\n" ]
[ { "title": "in_file#lines#0.5", "text": " public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal =", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_8_28
public static final int WIDTH_TRUNCATE_MAX = 2; public class AttributesPdf implements Parcelable { public static final int WIDTH_TRUNCATE_NONE = 0; public static final int
WIDTH_TRUNCATE_1_2 = 1;
[ "WIDTH_TRUNCATE_1_2 = 1;\n" ]
[ { "title": "in_file#lines#0.5", "text": " public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_9_28
private int page = -1 ; // -1 - all pages or need number 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;
[ "WIDTH_TRUNCATE_MAX = 2;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_11_36
private boolean roll = true; public static final int WIDTH_TRUNCATE_MAX = 2; private int page = -1 ; // -1 -
all pages or need number
[ "all pages or need number\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n ", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_13_3
private int widthTruncateMode = WIDTH_TRUNCATE_MAX; private int page = -1 ; // -1 - all pages or need number
private boolean roll = true;
[ " private boolean roll = true;\n" ]
[ { "title": "in_file#lines#0.5", "text": " private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.read", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_14_12
private boolean roll = true; private
int widthTruncateMode = WIDTH_TRUNCATE_MAX;
[ "int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n" ]
[ { "title": "in_file#lines#0.5", "text": "\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": "\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": "\n\n private int rotate = 0; // 0,90,270\n private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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/AttributesPdf.java_17_25
private boolean clearHeaderAndFooter = false; private boolean cutTop = false; private int rotate =
0; // 0,90,270
[ "0; // 0,90,270\n" ]
[ { "title": "in_file#lines#0.5", "text": " private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 1 }, { "title": "in_file#lines#0.75", "text": " private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()!= 0;\n cutTopVal = in.readInt();\n paperCutAfterEachPage = in.readByte()!= 0;\n roll = in.readByte()!= 0;\n rotate = in.readInt();\n cutFrame = in.readByte()!= 0;\n cutFrameVal = in.readInt();\n }\n\n @Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeInt(page);\n dest.writeInt(widthTruncateMode);\n dest.writeByte((byte) (clearHeaderAndFooter? 1 : 0));\n dest.writeByte((byte) (cutTop? 1 : 0));\n dest.writeInt(cutTopVal);\n dest.writeByte((byte) (paperCutAfterEachPage? 1 : 0));\n dest.writeByte((byte) (roll? 1 : 0));\n dest.writeInt(rotate);\n dest.writeByte((byte) (cutFrame? 1 : 0));\n dest.writeInt(cutFrameVal);\n }\n\n @Override\n public int describeContents() {\n return 0;\n }\n\n 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 };\n\n}\n", "score": 0.5 }, { "title": "in_file#lines#0.25", "text": " private boolean clearHeaderAndFooter = false;\n private boolean cutTop = false;\n private int cutTopVal = 0;\n\n private boolean cutFrame = false;\n private int cutFrameVal = 0;\n\n private boolean paperCutAfterEachPage = false;\n\n\n\n public AttributesPdf() {\n }\n\n // get & set\n\n\n\n public int getPage() {\n return page;\n }\n public int getWidthTruncateMode() {\n return widthTruncateMode;\n }\n public boolean isClearHeaderAndFooter() {\n return clearHeaderAndFooter;\n }\n public boolean isCutTop() {\n return cutTop;\n }\n public int getCutTopVal() {\n return cutTopVal;\n }\n public boolean isPaperCutAfterEachPage() {\n return paperCutAfterEachPage;\n }\n public boolean isRoll() {\n return roll;\n }\n public int getRotate() {\n return rotate;\n }\n public boolean isCutFrame() {\n return cutFrame;\n }\n public int getCutFrameVal() {\n return cutFrameVal;\n }\n\n public AttributesPdf setPage(int page) {\n this.page = page;\n return this;\n }\n\n public AttributesPdf setRoll(boolean roll) {\n this.roll = roll;\n return this;\n }\n\n public AttributesPdf setWidthTruncateMode(int widthTruncateMode) {\n this.widthTruncateMode = widthTruncateMode;\n return this;\n }\n\n public AttributesPdf setRotate(int rotate) {\n this.rotate = rotate;\n return this;\n }\n\n public AttributesPdf setClearHeaderAndFooter(boolean clearHeaderAndFooter) {\n this.clearHeaderAndFooter = clearHeaderAndFooter;\n return this;\n }\n\n public AttributesPdf setCutTop(boolean cutTop) {\n this.cutTop = cutTop;\n return this;\n }\n\n public AttributesPdf setCutTopVal(int cutTopVal) {\n this.cutTopVal = cutTopVal;\n return this;\n }\n\n public AttributesPdf setPaperCutAfterEachPage(boolean paperCutAfterEachPage) {\n this.paperCutAfterEachPage = paperCutAfterEachPage;\n return this;\n }\n\n public AttributesPdf setCutFrame(boolean cutFrame) {\n this.cutFrame = cutFrame;\n return this;\n }\n\n public AttributesPdf setCutFrameVal(int cutFrameVal) {\n this.cutFrameVal = cutFrameVal;\n return this;\n }\n\n // implements parcelable\n\n protected AttributesPdf(Parcel in) {\n page = in.readInt();\n widthTruncateMode = in.readInt();\n clearHeaderAndFooter = in.readByte()!= 0;\n cutTop = in.readByte()", "score": 0.3333333333333333 }, { "title": "in_file#identifiers#0.5", "text": "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 AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.25 }, { "title": "sibling_file#method_names_and_bodies#0.5", "text": "[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 } [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[AttributesPdf]", "score": 0.2 }, { "title": "sibling_file#identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.16666666666666666 }, { "title": "in_file#type_identifiers#0.5", "text": "AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf", "score": 0.14285714285714285 }, { "title": "in_file#method_names#0.5", "text": "getPage getWidthTruncateMode isClearHeaderAndFooter isCutTop getCutTopVal isPaperCutAfterEachPage isRoll getRotate isCutFrame getCutFrameVal setPage setRoll setWidthTruncateMode setRotate setClearHeaderAndFooter setCutTop setCutTopVal setPaperCutAfterEachPage setCutFrame setCutFrameVal writeToParcel describeContents createFromParcel newArray", "score": 0.125 }, { "title": "sibling_file#field_declarations#0.5", "text": "[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 }; [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[AttributesPdf]", "score": 0.1111111111111111 }, { "title": "in_file#string_literals#0.5", "text": "", "score": 0.1 }, { "title": "sibling_file#type_identifiers#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.09090909090909091 }, { "title": "sibling_file#string_literals#0.5", "text": "[AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "score": 0.08333333333333333 }, { "title": "similar_name_file#identifiers#0.5", "text": "[CommandPdfInBase64] rawbt api command rawbt api attributes AttributesImage rawbt api attributes AttributesPdf rawbt api Constant DITHERING_SF CommandPdfInBase64 TAG command TAG base64 attributesPdf attributesImage CommandPdfInBase64 CommandPdfInBase64 base64 attributesPdf base64 base64 attributesPdf attributesPdf attributesImage DITHERING_SF CommandPdfInBase64 base64 attributesPdf attributesImage base64 base64 attributesPdf attributesPdf attributesImage attributesImage getBase64 base64 setBase64 base64 base64 base64 getAttributesPdf attributesPdf setAttributesPdf attributesPdf attributesPdf attributesPdf getAttributesImage attributesImage setAttributesImage attributesImage attributesImage attributesImage RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.07692307692307693 }, { "title": "similar_name_file#method_names_and_bodies#0.5", "text": "[CommandPdfInBase64] [getBase64] public String getBase64() {\n return base64;\n } [setBase64] (String base64) {\n this.base64 = base64;\n } [getAttributesPdf] AttributesPdf getAttributesPdf() {\n return attributesPdf;\n } [setAttributesPdf] df) {\n this.attributesPdf = attributesPdf;\n } [getAttributesImage] public AttributesImage getAttributesImage() {\n return attributesImage;\n } [setAttributesImage] Image attributesImage) {\n this.attributesImage = attributesImage;\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 } [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[AttributesPdf]", "score": 0.07142857142857142 }, { "title": "in_file#field_declarations#0.5", "text": "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 };", "score": 0.06666666666666667 }, { "title": "sibling_file#method_names#0.5", "text": "[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 [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[AttributesPdf]", "score": 0.0625 }, { "title": "codex", "text": "package rawbt.api.attributes;\n\n\nimport android.os.Parcel;\nimport android.os.Parcelable;\n\npublic class AttributesPdf implements Parcelable {\n public static final int WIDTH_TRUNCATE_NONE = 0;\n public static final int WIDTH_TRUNCATE_1_2 = 1;\n public static final int WIDTH_TRUNCATE_MAX = 2;\n\n private int page = -1 ; // -1 - all pages or need number\n\n private boolean roll = true;\n private int widthTruncateMode = WIDTH_TRUNCATE_MAX;\n\n\n private int rotate = ", "score": 0.058823529411764705 }, { "title": "similar_name_file#field_declarations#0.5", "text": "[CommandPdfInBase64] final public static String TAG = \"pdf64\"; String command = TAG; String base64; AttributesPdf attributesPdf = null; AttributesImage attributesImage = null; [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 }; [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[AttributesPdf]", "score": 0.05555555555555555 }, { "title": "similar_name_file#method_names#0.5", "text": "[CommandPdfInBase64] getBase64 setBase64 getAttributesPdf setAttributesPdf getAttributesImage setAttributesImage [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 [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[AttributesPdf]", "score": 0.05263157894736842 }, { "title": "similar_name_file#type_identifiers#0.5", "text": "[CommandPdfInBase64] RawbtCommand String String String AttributesPdf AttributesImage String AttributesPdf AttributesImage String AttributesPdf AttributesImage String String AttributesPdf AttributesPdf AttributesImage AttributesImage [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 [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[AttributesPdf]", "score": 0.05 }, { "title": "similar_name_file#string_literals#0.5", "text": "[CommandPdfInBase64] \"pdf64\" [AttributesQRcode] [AttributesImage] [AttributesBarcode] [AttributesString] \"default\" \n[AttributesPdf]", "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": "[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 [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[AttributesPdf]", "score": 0.030303030303030304 }, { "title": "import_of_similar_name_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 } [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[AttributesPdf]", "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": "[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 }; [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[AttributesPdf]", "score": 0.02702702702702703 }, { "title": "import_of_similar_name_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 [AttributesImage] getGraphicFilter isRotateImage isInverseColor getScale getAlignment isDoScale setGraphicFilter setRotateImage setInverseColor setScale setAlignment setDoScale writeToParcel describeContents createFromParcel newArray \n[AttributesPdf]", "score": 0.02631578947368421 }, { "title": "import_of_similar_name_file#string_literals#0.5", "text": "[AttributesPdf] [AttributesImage] \n[AttributesPdf]", "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": "[AttributesPdf] Parcelable AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf AttributesPdf Parcel Parcel Creator AttributesPdf Creator AttributesPdf AttributesPdf Parcel AttributesPdf AttributesPdf AttributesPdf [AttributesImage] Parcelable String String AttributesImage AttributesImage AttributesImage AttributesImage AttributesImage String AttributesImage Parcel Parcel Creator AttributesImage Creator AttributesImage AttributesImage Parcel AttributesImage AttributesImage AttributesImage \n[AttributesPdf]", "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 } ]